<%@ page contentType="text/html; charset=UTF-8" %>
<%@ taglib prefix="spring" uri="http://www.springframework.org/tags"%>
<%@ taglib uri="http://www.rapid-framework.org.cn/rapid" prefix="rapid" %>
<%@ taglib uri="http://www.springframework.org/tags/form" prefix="mvc" %>
<%@ include file="nav.jsp"%>
<%@ include file="logo.jsp"%>
<%@ include file="item.jsp"%>
<%@ include file="footer.jsp" %>
<rapid:override name="contentContainer">
<div class="row">
	<mvc:form modelAttribute="UserInfo" role="form" action="/pethub/reportMissingFinish" method="post" class="registration-form">
     <div class="col-sm-12 minBox" >
     	<%
     	UserInfo userInfo = null;
		try{
			if(session != null){
				userInfo = (UserInfo)session.getAttribute("user");
				
				
			}
		}
		catch (Exception e){
			out.print("null");
		}
		%>
     	<div class="center">
     		<h1 style="color: #0ea6b5 !important;font-weight: 800 !important;font-size: 40px !important; line-height: 50px !important;letter-spacing: 0 !important;">宠物丢失申报</h1>
     	</div>
     	
		<div style="margin-left:30px;margin-top:30px;margin-bottom:20px;">
			<h6 >请填入宠物详细信息</h6>	
		</div>
		<div class="col-lg-12 col-md-12 col-xs-12 float-left">
			
		     <div class="col-sm-11 col-md-11 col-lg-11 registBox">
		   		<div class="col-sm-12 col-md-12 col-lg-12 float-left registMinBox">
			   		<div class="form-group">
						<mvc:label path="petName" for="petName" class="control-label col-lg-4 col-md-4 col-xs-12 float-left center">宠物名称:</mvc:label>
						<div class="col-lg-5 col-md-5 col-xs-12  float-left buttonMin">
							<mvc:input path="petName" id='petName' type="petName" placeholder="小黑" class="form-control" />
						</div>
						<div class="clearfix"></div>
					</div>
				</div>
				<div class="col-sm-12 col-md-12 col-lg-12 float-left registMinBox">
			   		<div class="row center">
					 	<div class="imageBlock" style="border: 0px;box-shadow: 5px 5px 20px #888888;">
						    <img src=<%if(userInfo != null){out.print(userInfo.getImageUrl());}else{out.print("null");} %> style="width:300px;"/>
						</div>
					</div>
				</div>
				<div class="col-sm-12 col-md-5 col-lg-5 float-left registMinBox">
			   		<div class="form-group">
						<mvc:label path="petGender" class="control-label col-lg-4 col-md-4 col-xs-12	 float-left center">宠物性别:</mvc:label>
						<mvc:select path="petGender" class="buttonMin"> 
							<mvc:option value="NONE" label="性别"/> 
							<mvc:option value="female" label="母"/> 
							<mvc:option value="male" label="公"/> 
						</mvc:select>
						<div class="clearfix"></div>
					</div>
				</div>
				<div class="clearfix"></div>
	            
	            <div style="margin-left:30px;margin-top:30px;margin-bottom:20px;">
					<h6 >出生日期</h6>	
				</div>
	            <div class="col-sm-12 col-md-5 col-lg-5 float-left registMinBox">
			   		<div class="form-group">
						<mvc:label path="petYear" class="control-label col-lg-4 col-md-4 col-xs-12	 float-left center">宠物生日:</mvc:label>
						<mvc:select path="petYear" class="buttonMin"> 
							<mvc:option value="NONE" label="年份"/> 
							<mvc:options items="${yearList}" />
						</mvc:select>
						<mvc:select path="petMonth" class="buttonMin"> 
							<mvc:option value="NONE" label="月份"/> 
							<mvc:options items="${monthList}" />
						</mvc:select>
						<mvc:select path="petDay" class="buttonMin"> 
							<mvc:option value="NONE" label="日期"/> 
							<mvc:options items="${dayList}" />
						</mvc:select>
						<div class="clearfix"></div>
					</div>
				</div>
				
				<div class="col-sm-12 col-md-5 col-lg-5 float-left registMinBox">
			   		<div class="form-group">
						<mvc:label path="petSpecies" class="control-label col-lg-4 col-md-4 col-xs-12	 float-left center">宠物种类:</mvc:label>
						<mvc:select path="petSpecies" class="buttonMin"> 
							<mvc:option value="NONE" label="种类"/> 
							<mvc:options items="${speciesList}" />
						</mvc:select>
						<div class="clearfix"></div>
					</div>
				</div>
				<div class="clearfix"></div>
				
				
				<div class="col-sm-12 col-md-5 col-lg-5 float-left registMinBox">
			   		<div class="form-group">
						<mvc:label path="altered" class="control-label col-lg-4 col-md-4 col-xs-12	 float-left center">是否阉割:</mvc:label>
						<mvc:select path="altered" class="buttonMin"> 
							<mvc:option value="YES" label="是"/> 
							<mvc:option value="NO" label="否"/> 
							<mvc:option value="UNKNOWN" label="不清楚"/> 
						</mvc:select>
						<div class="clearfix"></div>
					</div>
				</div>
		     
		     	<div class="col-sm-12 col-md-5 col-lg-5 float-left registMinBox">
			   		<div class="form-group">
						<mvc:label path="color" class="control-label col-lg-4 col-md-4 col-xs-12	 float-left center">宠物颜色:</mvc:label>
						<mvc:select path="color" class="buttonMin"> 
							<mvc:option value="NONE" label="颜色"/> 
							<mvc:options items="${colorList}" />
						</mvc:select>
						<div class="clearfix"></div>
					</div>
				</div>
				<div class="col-sm-12 col-md-5 col-lg-5 float-left registMinBox">
			   		<div class="form-group">
						<mvc:label path="coat" class="control-label col-lg-4 col-md-4 col-xs-12	 float-left center">宠物毛型:</mvc:label>
						<mvc:select path="coat" class="buttonMin"> 
							<mvc:option value="NONE" label="毛型"/> 
							<mvc:options items="${coatList}" />
						</mvc:select>
						<div class="clearfix"></div>
					</div>
				</div>
				<div class="col-sm-12 col-md-5 col-lg-5 float-left registMinBox">
			   		<div class="form-group">
						<mvc:label path="size" class="control-label col-lg-4 col-md-4 col-xs-12	 float-left center">宠物大小:</mvc:label>
						<mvc:select path="size" class="buttonMin"> 
							<mvc:option value="NONE" label="大小"/> 
							<mvc:options items="${sizeList}" />
						</mvc:select>
						<div class="clearfix"></div>
					</div>
				</div>
				<div class="col-sm-12 col-md-5 col-lg-5 float-left registMinBox">
			   		<div class="form-group">
						<mvc:label path="tail" class="control-label col-lg-4 col-md-4 col-xs-12	 float-left center">尾巴类型:</mvc:label>
						<mvc:select path="tail" class="buttonMin"> 
							<mvc:option value="NONE" label="大小"/> 
							<mvc:options items="${tailList}" />
						</mvc:select>
						<div class="clearfix"></div>
					</div>
				</div>
				<div class="col-sm-12 col-md-5 col-lg-5 float-left registMinBox">
			   		<div class="form-group">
						<mvc:label path="weight" for="weight" class="control-label col-lg-4 col-md-4 col-xs-4 float-left ">宠物重量:</mvc:label>
						<div class="col-lg-5 col-md-5 col-xs-5  float-left no-padding-right buttonMin">
							<mvc:input path="weight" id='weight' type="weight" placeholder="0" class="form-control" />
						</div>
						<mvc:select path="weightUnit" class="buttonMin"> 
							<mvc:option value="lb" label="lb"/> 
							<mvc:option value="kg" label="kg"/> 
						</mvc:select>
						<div class="clearfix"></div>
					</div>
				</div>
				
				<div class="clearfix"></div>
		     	<div class="col-sm-12 col-md-5 col-lg-5 float-left registMinBox">
			   		<div class="form-group">
						<mvc:label path="petTag" for="petTag" class="control-label col-lg-3 col-md-3 col-xs-12 float-left center">标签ID:</mvc:label>
						<div class="col-lg-5 col-md-5 col-xs-12  float-left buttonMin">
							<mvc:input path="petTag" id='petTag' type="petTag" placeholder="PTX0123456" class="form-control" />
						</div>
						<div class="clearfix"></div>
					</div>
				</div>
				<div class="col-sm-12 col-md-5 col-lg-5 float-left registMinBox">
			   		<div class="form-group">
						<mvc:label path="lisence" for="lisence" class="control-label col-lg-3 col-md-3 col-xs-12 float-left center">lisence:</mvc:label>
						<div class="col-lg-5 col-md-5 col-xs-12  float-left buttonMin">
							<mvc:input path="lisence" id='lisence' type="lisence"  class="form-control" />
						</div>
						<div class="clearfix"></div>
					</div>
				</div>
		     	
				<div class="clearfix"></div>
		     </div>
		     <div class="clearfix"></div>
		     <div style="margin-left:30px;margin-top:30px;margin-bottom:20px;">
				<h6 >宠物描述信息</h6>	
				<h6>请填入尽可能多的宠物描述信息，包括药品、颜色、毛发等</h6>
			</div>
			<div class="col-sm-12 col-md-12 col-lg-12 float-left registMinBox" >
			   		<textarea path="PetDesciption" rows="5" cols="30" style="background-color:#eafdff;"></textarea>
			</div>
			<div class="clearfix"></div>
			<div style="margin-left:30px;margin-top:30px;margin-bottom:20px;">
				<h6 >宠物用药情况</h6>	
				<h6>请填入尽可能详细的药品使用信息</h6>
			</div>
			<div class="col-sm-12 col-md-12 col-lg-12 float-left registMinBox" >
			   		<textarea path="medical" rows="5" cols="30" style="background-color:#eafdff;"></textarea>
				</div>
		     <div class="clearfix"></div>
		    </div>
		    <div class="col-lg-12 col-md-12 col-xs-12 float-left">
		     <div class="col-sm-11 col-md-11 col-lg-11 registBox">
		     	<div class="col-sm-12 col-md-4 col-lg-4 col-xs-12 float-left registMinBox">
			   		<div class="form-group">
						<mvc:label path="Country" for="国家" class="control-label col-lg-4 col-md-4 col-xs-12	 float-left center">国家：</mvc:label>
						<mvc:select path="Country" class="buttonMin"> 
							<mvc:option value="NONE" label="国家"/> 
							<mvc:options items="${countryList}" />
						</mvc:select>
					</div>
				</div>
				<div class="col-sm-12 col-md-4 col-lg-4 col-xs-12 float-left registMinBox">
			   		<div class="form-group">
						<mvc:label path="stateProvince" for="省份" class="control-label col-lg-4 col-md-4 col-xs-12	 float-left center">国家：</mvc:label>
						<mvc:select path="stateProvince" class="buttonMin"> 
							<mvc:option value="NONE" label="省份"/> 
							<mvc:options items="${provinceList}" />
						</mvc:select>
					</div>
				</div>
				<div class="form-group col-md-3 col-lg-3 col-xs-12 float-left registMinBox">
						<mvc:label path="city" for="city" class="control-label col-lg-4 col-md-4 col-xs-12 float-left center">城市:</mvc:label>
						<div class="col-lg-8 col-md-8 col-xs-12  float-left buttonMin">
							<mvc:input path="city" id='city' type="city" placeholder="城市" class="form-control" />
						</div>
						<div class="clearfix"></div>
				</div>
			   	<div class="form-group col-md-5 col-lg-5 col-xs-12 float-left registMinBox">
						<mvc:label path="street" for="street" class="control-label col-lg-3 col-md-3 col-xs-12 float-left center">街道:</mvc:label>
						<div class="col-lg-9 col-md-9 col-xs-12  float-left buttonMin">
							<mvc:input path="street" id='street' type="street" placeholder="街道" class="form-control" />
						</div>
						<div class="clearfix"></div>
				</div>
				<div class="form-group col-md-3 col-lg-3 col-xs-12 float-left registMinBox">
						<mvc:label path="postalCode" for="postalCode" class="control-label col-lg-4 col-md-4 col-xs-12 float-left center">邮编:</mvc:label>
						<div class="col-lg-8 col-md-8 col-xs-12  float-left buttonMin">
							<mvc:input path="postalCode" id='postalCode' type="postalCode" placeholder="邮编" class="form-control" />
						</div>
						<div class="clearfix"></div>
				</div>
				
				<div class="clearfix"></div>
				<div style="margin-left:30px;margin-top:30px;margin-bottom:20px;">
					<h6 >请输入详细信息</h6>	
				</div>
		     </div>
		     <div class="clearfix"></div>
		    </div>
		    <div class="col-lg-12 col-md-12 col-xs-12 float-left">
		     <div class="col-sm-11 col-md-11 col-lg-11 registBox">
			   	<div class="form-group col-md-5 col-lg-5 col-xs-12 float-left registMinBox">
						<mvc:label path="Email" for="Email" class="control-label col-lg-3 col-md-3 col-xs-12 float-left center">邮件:</mvc:label>
						<div class="col-lg-9 col-md-9 col-xs-12  float-left buttonMin">
							<mvc:input path="Email" id='Email' type="Email" placeholder="邮件" class="form-control" />
						</div>
						<div class="clearfix"></div>
				</div>
				<div class="form-group col-md-5 col-lg-5 col-xs-12 float-left registMinBox">
						<mvc:label path="phoneNum" for="phoneNum" class="control-label col-lg-4 col-md-4 col-xs-12 float-left center">电话:</mvc:label>
						<div class="col-lg-8 col-md-8 col-xs-12  float-left buttonMin">
							<mvc:input path="phoneNum" id='phoneNum' type="num" placeholder="电话" class="form-control" />
						</div>
						<div class="clearfix"></div>
				</div>
				
				<div class="clearfix"></div>
				<div style="margin-left:30px;margin-top:30px;margin-bottom:20px;">
					<h6 >请输入详细信息</h6>	
				</div>
		     </div>
		     <div class="clearfix"></div>
		     
		     </div>
		     
		     <div>
		     	<button id="submitBtn" type="submit" class="btn btn-default float-right submitButton">提交</button>
		     </div>
		     </div>
		     
   		</mvc:form>
 </div>
</rapid:override>
<%@ include file="base.jsp" %>